package com.oraking.android.jquery.korealaw.activity;

import java.util.ArrayList;
import java.util.Hashtable;

import com.oraking.android.jquery.korealaw.util.ParamList;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

/**
 * 파일명          : KoreaLawSearchList.java 
 * 작성일          : 2011. 10. 2.
 * 작성자          : <a href='http://oraking.springnote.com/' target='_blank'>Teddy</a>
 * Todo      :
 * 수정내용
 * -------------------------------------------------------------
 *      수정일      |      수정자      |              수정내용              
 * -------------------------------------------------------------
 *              |              |
 */

public class KoreaLawSearchList extends Activity{

	Intent mIntent;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setValue();
		checkParams();
		configureScreen();
	}
	
	// 화면 구성하는 Method
	private void configureScreen(){
		
	}
	
	// 이전 화면에서 넘어옶 값 Setting
	private void setValue(){
		mIntent = getIntent();
	}
	
	// Parameter 확인 Method
	private void checkParams(){
		ParamList paramList = (ParamList) mIntent.getSerializableExtra("params");
		ArrayList<Hashtable<String, String>> params = paramList.getList(); 

		for(Hashtable<String, String> param : params){
			Log.d("debug", "key:" + param.get("key") + "|" + "value:" + param.get("value"));
		}
	}
}
